import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ContentLogic extends GetxController {
   RxList grid=[].obs;

  @override
  void onInit() {
    super.onInit();
  }


  getGird() async {
    var list = await Future.delayed(Duration(seconds: 2),
        () => ["选股器", "窝轮牛熊", "期权链", "融资融券", "甘谷ADR", "ETF", "区间涨幅榜", "经纪商排行"]);
    print("getGird");

    grid.clear();

    grid.addAll(list);

    update(["grid"]);
  }
}
